#ifndef BOYAA_DBPART_H_20090707
#define BOYAA_DBPART_H_20090707

#include <global.h>
#include <map>
#include <vector>
#include <set>
#include "baseDbPart.h"
#include "2200_game_userinfo.pb.h"

struct stUserinfo;

class CDbPart
{
public:
	CDbPart();
	virtual ~CDbPart();

public:
	bool getUserinfoByGame(const unsigned int uid, const int game_id, stUserinfo* pUserinfo);
	stUserinfo* getUserinfoByGame(const unsigned int uid, const int game_id);
	//bool addUser(const unsigned int uid, int game_id, stUserinfo* pUserinfo);
public:
	CBaseDbPart* m_dbHandler;
};
#endif
